package com.jxtc.enterprise.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Schema(description = "Admin 端登录成功返回信息")
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class AdminLoginSuccessVO {

    @Schema(description = "Admin ID", example = "c752804d0cd410267f404dd3f0457a57")
    private String id;

    @Schema(description = "Admin 名称", example = "张三")
    private String name;

    @Schema(description = "角色", example = "admin/tenant")
    private String role;

    @Schema(description = "jwt token", example = "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTYzNzA3MjQ1MiwiaWF0IjoxNjM3MDI2NDUyfQ.a1a2a3a4a5a6a7a8a9a0")
    private String token;
}
